package com.cloud.pole.user.service.collection;

import java.math.BigDecimal;
import java.util.List;

import com.cloud.pole.api.user.UserCollectionApi;
import com.cloud.pole.user.model.entity.collection.UserCollection;
import com.github.pagehelper.PageInfo;
/*
*2019年1月30日
*cloud-user
*author:frank-chen
*/
public interface UserCollectionService {

	public void addCollection(Long userId, String userName, String objectId, String objectName, Integer objectTypeId, String note)throws Exception;
	
	public void cancelUserCollection(Long userId, Integer objectTypeId, String objectId) throws Exception;
	
	public List<UserCollection> getUserCollectionList(Long userId, Integer objectTypeId)throws Exception;
	
	public UserCollection getUserCollection(Long userId, Integer objectTypeId, String objectId) throws Exception;
	
	public PageInfo<UserCollection> getPageCollectionList(Long userId, Integer objectTypeId, Integer pageNum, Integer pageSize) throws Exception;
}
